package cn.wenhe9.novel.mapper;

import cn.wenhe9.novel.domain.dto.UserCommentDto;
import cn.wenhe9.novel.domain.entity.user.UserComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户评论 Mapper 接口
 * @author DuJinliang
 * 2022/5/20
 */
public interface UserCommentMapper extends BaseMapper<UserComment> {
    Page<UserCommentDto> queryCommentByPage(Page page, @Param("userId") Long userId);
}
